//引入vue-router
import { createRouter,createWebHashHistory } from "vue-router";
//导入组件
import Ybp from '@/components/Ybp.vue'
import Jsgl from '@/components/Jsgl.vue'
import Xsgl from '@/components/Xsgl.vue'
import Gggl from '@/components/Gggl.vue'
import Xtpz from '@/components/Xtpz.vue'
import Ptfwq from '@/components/Ptfwq.vue'
import Wtlb from '@/components/Wtlb.vue'
import Zjtm from '@/components/Zjtm.vue'
import Drdctm from '@/components/Drdctm.vue'
import Bslb from '@/components/Bslb.vue'
import Cjbs from '@/components/Cjbs.vue'
import Kclb from '@/components/Kclb.vue'
import Cjkc from '@/components/Cjkc.vue'
//创建vue-router实例，定义实例的选项
const router = createRouter({
    history: createWebHashHistory(),
    routes:[
        {
            path: '/Ybp',
            component: Ybp
        },
        {
            path: '/Jsgl',
            component: Jsgl
        },
        {
            path: '/Xsgl',
            component: Xsgl
        },
        {
            path: '/Gggl',
            component: Gggl
        },
        {
            path: '/Xtpz',
            component: Xtpz
        },
        {
            path: '/Ptfwq',
            component: Ptfwq
        },
        {
            path: '/Wtlb',
            component: Wtlb
        },
        {
            path: '/Zjtm',
            component: Zjtm
        },
        {
            path: '/Drdctm',
            component: Drdctm
        },
        {
            path: '/Bslb',
            component: Bslb
        },
        {
            path: '/Cjbs',
            component: Cjbs
        },
        {
            path: '/Kclb',
            component: Kclb
        },
        {
            path: '/Cjkc',
            component: Cjkc
        },
    ]
})
//导出路由
export default router